package com.ty.day1;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2023/11/14 14:43
 */
public class CarPersonDemo {
    public static void main(String[] args) {
        Car car = new Car();
        car.brand="帕拉梅拉";
        car.seat=2;
        car.color="炫酷黑";
        car.travel();
        car.fly();
        car.recreation();
        Person person = new Person();
        person.name="顺妞";
        person.salary=3000;
        person.age=19;
        person.sex="女";
        person.introduce();
        person.sing();
    }
}
